package com.ymttest.database.mapping;

import java.util.List;
import java.util.Map;

import com.ymttest.database.model.YmtProductActivityStock;

public interface YmtProductActivityStockMapper {
	int updateStockByActivityIdAndProductId(Map<String, Object> record);
	
	List<YmtProductActivityStock> selectByProductId(String productId);
	
	YmtProductActivityStock selectByProductInActivityId(int productInActivityId);
	YmtProductActivityStock selectByCatalogId(String catalogId);
	
	Map selectBy(Map<String, Object> searchMap);
}
